漫小肆[画].js 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. var rule = {
  2. 类型: '漫画',
  3. title: '漫小肆[画]',//名称
  4. host: 'http://www.mxshm.top/',//域名
  5. class_name: '连载中&已完结',//分类名
  6. class_url: '0&1',//分类词
  7. url: '/booklist?tag=%E5%85%A8%E9%83%A8&area=-1&end=fyclass&page=fypage',//分类链接
  8. searchUrl: 'https://www.mxshm.top/search?keyword=**',//搜索链接
  9. searchable: 2,//是否启用全局搜索,
  10. quickSearch: 0,//是否启用快速搜索,
  11. filterable: 0,//是否启用分类筛选,
  12. //class_parse: '.myui-header__menu li.hidden-sm:gt(0):lt(5);a&&Text;a&&href;/(\\d+).html',//动态大分类
  13. //cate_exclude:'',//屏蔽
  14. play_parse: true,
  15. lazy: $js.toString(() => {
  16. let html = request(input);
  17. let list = jsp.pdfa(html, "#cp_img img").map(v => jsp.pdfh(v, "img&&data-original"));
  18. let url = html;
  19. input = {
  20. //parse: 0,
  21. url: "pics://" + list.join("&&"),
  22. js: ''
  23. };
  24. }),
  25. limit: 6,
  26. 推荐: '*',
  27. double: true, // 推荐内容是否双层定位
  28. 一级: '.manga-list-2 li;a:eq(1)&&Text;.lazy&&data-original;a:eq(2)&&Text;a&&href',
  29. 二级: {
  30. title: '.detail-main-info&&p&&Text',
  31. img: '.lazy&&gata-original',
  32. desc: '.detail-main-info&&p:eq(2)&&Text;.detail-main-info&&p:eq(3)&&Text',
  33. content: '.detail-desc&&Text',
  34. tabs: '',
  35. lists: '#detail-list-select&&li',
  36. tab_text: '',
  37. list_text: 'a&&Text',
  38. list_url: 'a&&href',
  39. list_url_prefix: '',
  40. },
  41. 搜索: '.book-list li;a&&title;.lazy&&data-original;span:eq(-1)&&Text;a&&href;span&&Text',
  42. }